package com.tanhua.api.mongo;

import com.tanhua.domain.vo.UserLocationVo;

import java.util.List;
import java.util.Map;

public interface UserLocationApi {
    void location(Double longitude, Double latitude, String addrStr, Long userId);

    List<UserLocationVo> findNearUser(Integer distance, Long id);

    Map<String, Double> getCoordinates(String userid);
}
